package com.shuiyun.jtt.message.jt808;

import com.shuiyun.jtt.anno.Message;
import com.shuiyun.jtt.enums.JT808;
import com.shuiyun.jtt.message.JTMessage;
import com.shuiyun.jtt.message.jt808.extend.IntegerId;
import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author shuiyun
 * @program device-simulator
 * @description 多媒体数据上传应答
 * @date 2022-05-07 21:58
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Message(value = JT808.多媒体数据上传应答0x8800)
public class T8800 extends JTMessage {

    @FieldValue(type = DataType.DWORD,desc = "多媒体数据ID")
    private Integer id;

    @FieldValue(type = DataType.LIST,lengthSize = 1,desc = "重传包ID")
    private List<IntegerId> arqId;
}
